home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 24 / AACD 24.iso / AACD / Online / Epic4 / share / epic / help / 6_functions / servports < prev    next >
Text File  |  2001-03-21  |  746b  |  25 lines

  1. Synopsis:
  2.    $servports(<server name/refnum>)
  3.  
  4. Technical:
  5.    This function returns the remote and local port assignments for the
  6.    connection to the specified server.
  7.  
  8. Returns:
  9.    the remote and local port assignments for the specified server connection,
  10.    separated by a space
  11.    
  12.    if the specified server is not connected, returns default remote port and
  13.    0 for the local port.
  14.  
  15. Examples:
  16.    $serverports(0)               /* could return "6667 1054", where 6667 is
  17.                                     the remote port and 1054 is the local */
  18.  
  19.    $servername(6127)             /* assuming 6127 is an invalid refnum,
  20.                                     returns "6667 0" */
  21.  
  22. See Also:
  23.    server(1); servnum(6); winserv(6)
  24.  
  25.